package com.youlu.campus.website.repositories;

import com.youlu.campus.website.entity.CompanyDynamicType;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.Collection;
import java.util.List;

/**
 * 公司动态类型
 */
public interface CompanyDynamicTypeRepository extends MongoRepository<CompanyDynamicType, String> {

    List<CompanyDynamicType> findByTypeIn(Collection<String> types);
}